cmake_minimum_required(VERSION 3.8)
project(read_timestamp)
file(TIMESTAMP "${PROJECT_SOURCE_DIR}/ReadTimestamp.txt" read_var)
message(STATUS "${read_var}")
file(TIMESTAMP "${PROJECT_SOURCE_DIR}/ReadTimestamp.txt" read_var UTC)
message(STATUS "UTC - ${read_var}")
file(TIMESTAMP "${PROJECT_SOURCE_DIR}/ReadTimestamp.txt" read_var "%A, %B %d, %Y, %H:%M:%S")
message(STATUS "custom format - ${read_var}")
